/**
 * Created by xwy on 2018/1/17 0017 21:26.
 * User: 13720092498@163.com
 */

export default {
    methods: {
        jump(to) {
            if (this.$router) {
                this.$router.push(to)
            }
        },
        isIpx() {
            return weex && (weex.config.env.deviceModel === 'iPhone10,3' || weex.config.env.deviceModel === 'iPhone10,6');
        }
    }
}
